package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备类型表
 * @TableName sys_device_type
 */
@Data
@ApiModel("设备类型模型")
@TableName(value ="sys_device_type")
public class SysDeviceType implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设备类型id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("设备类型")
    private String deviceType;

    @ApiModelProperty("类型名称")
    private String name;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态，0-停用，1-启用，2-删除")
    private Integer state;

    @ApiModelProperty("创建时间")
    private Date createdTime;

    @ApiModelProperty("更新时间")
    private Date updatedTime;

}